package cate.common.table.item.kitchenware.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.kitchenware.row.KitchenwareLevelUpRow;

public class KitchenwareLevelUpSheet extends ESheet<KitchenwareLevelUpRow> {
    @Override
    public String getSheetName() {
        return "厨具强化";
    }

    public KitchenwareLevelUpRow findRow(int tid, int level) {
        return getList().stream().filter(e -> e.tid == tid && e.level == level).findAny().orElse(null);
    }
}
